package com.active.service;

import com.active.bean.ActiveList;
import com.base.dto.PageContent;

import java.util.List;

public interface IActiveListService {

    PageContent<List<ActiveList>> getPage(PageContent<List<ActiveList>> page) throws Exception;

    ActiveList getActiveListById(Integer id) throws Exception;

    ActiveList getActiveListByUserAndId(Integer id,int userId) throws Exception;

    int insertActiveList(ActiveList activeList) throws Exception;

    int deleteActiveListById(Integer id) throws Exception;

    int updateActiveListById(ActiveList activeList) throws Exception;

    int updateActiveListSelectiveById(ActiveList activeList) throws Exception;

}
